package how_to_start_thread.demo3;

/**
 * @author yuisama
 * @date 2022/09/28 19:47
 **/
public class MyThread extends Thread{
    @Override
    public void run() {
        //打印当前线程的名字
        System.out.println("我是"+Thread.currentThread().getName());
    }
}

